package com.lanou.service;

import com.github.pagehelper.PageInfo;
import com.lanou.bean.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by dllo on 18/3/14.
 */
public interface PageService {

    PageInfo<RoleGuanLiBean> selectRoleByPage(Integer pageNo, Integer pageSize);

    PageInfo<AdminModule> selectAdminByPage(Integer pageNo, Integer pageSize);
    PageInfo<Cost> selectCostByPage(Integer pageNo, Integer pageSize);

    PageInfo<Account> selectAccountByPage(Integer pageNo, Integer pageSize);
    PageInfo<Service> selectServiceByPage(Integer pageNo, Integer pageSize);


    PageInfo<Service> selectServiceBySearch (Integer pageNo, Integer pageSize,String login_name ,
                                         String idcard_no,
                                         String real_name);

    PageInfo<Account> accountSearch(Integer pageNo, Integer pageSize,
                                    String idcardNo ,  String realName
            ,String loginName,int status);

    PageInfo<AdminModule> searchAdminInfo(Integer pageNo, Integer pageSize,String name);

}
